<template>
	<view class="box">
		<!-- logo -->
		<view class="login_title">欢迎登录小U商城</view>
		<image class="login_logo" src="../../static/logo/orange.png" alt="" />
		<button class="login_but" hover-class="touchOpacity">微信用户一键登录</button>
		<view class="login_text" hover-class="touchOpacity" @click="login">手机号验证注册/登录</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	onLoad() {},
	methods: {
		// 跳转到短信登录页面
		login() {
			uni.navigateTo({
				url: '../textlogin/textlogin'
			});
		}
	}
};
</script>

<style>
/* 导入外部的样式文件 */
@import url('@/static/css/login.css');
</style>
